public class Test {
    public static void main(String[] args) {
        PriorityQueue priorityQueue=new PriorityQueue();
        int arr[]={15,27,19,18,28,34,65,49,25,37};
        priorityQueue.initElem(arr);
        priorityQueue.createHeap();
        priorityQueue.display();
        priorityQueue.push(80);
        priorityQueue.display();
        priorityQueue.pollHeap();
        priorityQueue.display();
        System.out.println(priorityQueue.peekHeap());
    }
}
